package znet

import "zinx/ziface"

// BaseRouter 实现Router时，先嵌入这个BaseRouter基类，然后根据需要对基类进行重写即可
type BaseRouter struct{}

//三个方法都为空，为了让子类继承BaseRouter，从而根据需要仅需要重写部分方法即可，接口隔离

func (br *BaseRouter) PreHandle(request ziface.IRequest) {}

func (br *BaseRouter) Handle(request ziface.IRequest) {}

func (br *BaseRouter) PostHandle(request ziface.IRequest) {}
